<script setup>
import { DropdownMenuLabel } from 'radix-vue'
import { cn } from '../../utils'

const props = defineProps({
  class: { type: String, required: false, default: '' },
  inset: { type: Boolean, required: false },
})
</script>

<template>
  <DropdownMenuLabel :class="cn('px-2 py-1.5 text-sm font-medium', props.inset && 'pl-8', props.class)" v-bind="$attrs">
    <slot />
  </DropdownMenuLabel>
</template>
